package com.nbpt.group.service.impl;

import com.nbpt.group.entity.ProvinceEntity;
import com.nbpt.group.mapper.ProvinceMapper;
import com.nbpt.group.service.ProvinceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by ltang on 2018/5/2.
 */
@Service
public class ProvinceServiceImpl implements ProvinceService {

    @Autowired
    private ProvinceMapper provinceMapper;

    @Override
    public List<ProvinceEntity> findAll() {
        return provinceMapper.selectAll();
    }
}
